<template>
  <div class="title-parent">
    <div class="hw-flex-style-c-c parent-title">
      <img class="title-img1" :src="publicUrls + 'customized/zjz/titleIcon1.png'" alt="" />
      <img class="title-img2" :src="publicUrls + 'customized/zjz/titleIcon2.png'" alt="" />
      <img class="title-img3" :src="publicUrls + 'customized/zjz/titleIcon3.png'" alt="" />
      <img class="title-img4" :src="publicUrls + 'customized/zjz/titleIcon4.png'" alt="" />
      <span class="title-style">{{ props.title }}</span>
    </div>
  </div>
</template>

<script setup lang="ts">
// @ts-nocheck
import { publicUrls } from '@/utils/minxin';
import { useProjectStore } from '@/store';

const store = useProjectStore();
const props = defineProps({
  title: {
    type: String,
  },
});
</script>

<style lang="less" scoped>
.title-parent {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 29px;
  margin-bottom: 8px;
}
.parent-title {
  position: relative;
  display: flex;
}
.title-img1 {
  position: absolute;
  top: -10px;
  left: -19px;
  width: 52px;
  height: 23px;
}
.title-img2 {
  position: absolute;
  top: -10px;
  right: -19px;
  width: 29px;
  height: 20px;
}
.title-img3 {
  position: absolute;
  top: 11px;
  left: -19px;
  width: 19px;
  height: 7px;
}
.title-img4 {
  position: absolute;
  top: 11px;
  right: -19px;
  width: 19px;
  height: 7px;
}
.title-style {
  position: relative;
  z-index: 6;
  font-family: SJxingkai-C;
  font-weight: 400;
  font-size: 24px;
  color: #a2463c;
}
</style>
